package com.yxw.yxnet_cd_center.customer_service.entity;



import com.baomidou.mybatisplus.annotation.TableName;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import java.io.Serializable;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
//import lombok.EqualsAndHashCode;



@Data
@NoArgsConstructor
@TableName("yxcsc_service_talk_record")
//@EqualsAndHashCode(callSuper = true)
public class YxcscServiceTalkRecordEntity   implements Serializable
{
    private static final long serialVersionUID = 91695293695674L;
    /**
    *会话时间,时间戳
    */
    @TableField("create_time")
    @ApiModelProperty(value = "会话时间,时间戳")
    private Long createTime;
    /**
    *记录ID
    */
    @TableId(value = "record_id",type = IdType.AUTO)
    @ApiModelProperty(value = "记录ID")
    private Long Id;
    /**
    *是否已发送 0:否 1：是
    */
    @TableField("send_flag")
    @ApiModelProperty(value = "是否已发送 0:否 1：是")
    private Integer sendFlag;
    /**
    *发送者ID
    */
    @TableField("sender_id")
    @ApiModelProperty(value = "发送者ID")
    private String senderId;
    /**
    *发送者姓名
    */
    @TableField("sender_name")
    @ApiModelProperty(value = "发送者姓名")
    private String senderName;
    /**
    *发送者类型 1:客户2：客服
    */
    @TableField("sender_type")
    @ApiModelProperty(value = "发送者类型 1:客户2：客服")
    private Integer senderType;
    /**
    *会话ID
    */
    @TableField("session_id")
    @ApiModelProperty(value = "会话ID")
    private String sessionId;
    /*
    *客服会话Id
    */
    @TableField("access_service_id")
    @ApiModelProperty(value = "客服会话Id")
    private String accessServiceId;    
    /**
    *会话聊天内容
    */
    @TableField("talk_info")
    @ApiModelProperty(value = "会话聊天内容")
    private String talkInfo;
    /*
    *消息体类型： picture,sound,vedio,multitype
    */
    @TableField("talk_info_type")
    @ApiModelProperty(value = "消息体类型： picture,sound,vedio,multitype")
    private String talkInfoType;
    
    /**
    *操作状态:0正常的消息,1删除的消息,2撤回的消息
    */
    @TableField("operation_state")
    @ApiModelProperty(value = "操作状态:0正常的消息,1删除的消息,2撤回的消息")
    private Integer operationState;
    
    /**
    *操作时间,时间戳
    */
    @TableField("operation_time")
    @ApiModelProperty(value = "会话时间,时间戳")
    private Long operationTime;        
}

